package com.yyf.springboot2.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.boot.autoconfigure.domain.EntityScan;

import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author yyf
 * @since 2019-05-29
 */
@TableName("t_shopcart")
@EntityScan
@Data
public class TShopcart implements Serializable {

    private static final long serialVersionUID = 1L;

	private Integer id;
	private Integer goodsId;
	private Integer num;
	private Integer userId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

}
